package com.pay.model;

/**
 * 订单信息
 * Created by chenweiyi on 2018/1/30.
 */
public class Order {

    /**
     * 主键
     */
    private String uuid;

    /**
     * 订单ID
     */
    private String orderNo;

    /**
     * 交易金额
     */
    private Float price;

    /**
     * 支付方式(1：微信，2：支付宝)
     */
    private String payType;

    /**
     * 应用id
     */
    private Integer appId;

    /**
     * 金额所属用户id
     */
    private Integer forUserId;

    /**
     * 支付用户信息（json字符串）
     */
    private String payUserInfo;

    /**
     * 状态(1：等待支付，2：支付中，3：支付完成，4：支付失败，5：过期未支付)
     */
    private Integer status;

    /**
     * 开始时间
     */
    private String beginTime;

    /**
     * 支付时间
     */
    private String payTime;

    /**
     * 退款时间
     */
    private String backTime;

    /**
     * 支付订单号
     */
    private String payOrderNo;

    /**
     * 商品信息（json）
     */
    private String commodityInfo;

    /**
     * 回调地址
     */
    private String callbackUrl;

    /**
     * 返回地址
     */
    private String returnUrl;

    /**
     * 非表字段
     */
    private String appSecret;

    public String getUuid() {
        return uuid;
    }

    public void setUuid(String uuid) {
        this.uuid = uuid;
    }

    public String getOrderNo() {
        return orderNo;
    }

    public void setOrderNo(String orderNo) {
        this.orderNo = orderNo;
    }

    public Float getPrice() {
        return price;
    }

    public void setPrice(Float price) {
        this.price = price;
    }

    public String getPayType() {
        return payType;
    }

    public void setPayType(String payType) {
        this.payType = payType;
    }

    public Integer getAppId() {
        return appId;
    }

    public void setAppId(Integer appId) {
        this.appId = appId;
    }

    public Integer getForUserId() {
        return forUserId;
    }

    public void setForUserId(Integer forUserId) {
        this.forUserId = forUserId;
    }

    public String getPayUserInfo() {
        return payUserInfo;
    }

    public void setPayUserInfo(String payUserInfo) {
        this.payUserInfo = payUserInfo;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getBeginTime() {
        return beginTime;
    }

    public void setBeginTime(String beginTime) {
        this.beginTime = beginTime;
    }

    public String getPayTime() {
        return payTime;
    }

    public void setPayTime(String payTime) {
        this.payTime = payTime;
    }

    public String getBackTime() {
        return backTime;
    }

    public void setBackTime(String backTime) {
        this.backTime = backTime;
    }

    public String getPayOrderNo() {
        return payOrderNo;
    }

    public void setPayOrderNo(String payOrderNo) {
        this.payOrderNo = payOrderNo;
    }

    public String getCommodityInfo() {
        return commodityInfo;
    }

    public void setCommodityInfo(String commodityInfo) {
        this.commodityInfo = commodityInfo;
    }

    public String getCallbackUrl() {
        return callbackUrl;
    }

    public void setCallbackUrl(String callbackUrl) {
        this.callbackUrl = callbackUrl;
    }

    public String getReturnUrl() {
        return returnUrl;
    }

    public void setReturnUrl(String returnUrl) {
        this.returnUrl = returnUrl;
    }

    public String getAppSecret() {
        return appSecret;
    }

    public void setAppSecret(String appSecret) {
        this.appSecret = appSecret;
    }



}
